package com.ali.juejin.services

import com.ali.juejin.bean.CommonResponseGraphqlBean
import com.ali.juejin.bean.GraphqlTagsBean
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST

interface GraphqlServices {
    @Headers("Content-Type: application/json")
    @POST("/graphql")
    suspend fun getTagList(
        @Body info: RequestBody
    ): CommonResponseGraphqlBean<GraphqlTagsBean>
}